Custom Hooks lets you share logic between components.
Custom Hooks must be named starting with use followed by a capital letter.
Custom Hooks only share stateful logic, not the state itself.
You can pass reactive values from one Hook to another, and they stay up-to-date.
All Hooks re-run every time your component re-renders.
The code of your custom Hooks should be pure, like your component’s code.
Wrap event handlers received by custom Hooks into Effect Events.
Don’t create custom Hooks like useMount. Keep their purpose specific.
How would you add a simple recap panel that lists the last three actions a user performed in a form?
If you forget to include a key prop when rendering a list of recap items, what UI issue might you see?
We have a feature where users can edit items and we need to show a live recap of changes; why might the recap not update correctly when using useEffect?
Explain the trade‑offs between storing the recap history in component state versus a global store like Redux.
Design a reusable Recap component that can handle thousands of entries without hurting performance; what techniques would you use?
How would you ensure the recap stays in sync across multiple tabs of the same app?
If the product roadmap includes moving the recap functionality to a micro‑frontend, what architectural considerations would you raise?
Discuss how you’d version and migrate the recap data schema across teams without breaking existing users.